﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EzDesk.Core.Model;

namespace EzDesk.Core.ServiceImpl.Filters
{
    public static class AppFilter
    {
        public static App ByName(this IQueryable<App> query, string name)
        {
            return query.Where(p => p.Name == name).SingleOrDefault();
        }
    }
}
